/*
 * @Descripttion: 
 * @version: 3.1.6
 * @Author: Dandelion
 * @Date: 2019-12-03 13:35:54
 * @LastEditors: Jian
 * @LastEditTime: 2019-12-04 10:27:13
 */
// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import VueI18n from 'vue-i18n'
import store from './store/index'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

Vue.use(VueI18n)

Vue.use(ElementUI)

const i18n = new VueI18n({
  locale: 'zh-CN',   // 语言标识
  messages: {
    'zh-CN': require('./common/lang/zh'),
    'en-US': require('./common/lang/en'),
    'ja-JP': require('./common/lang/ja'),
    're-KO': require('./common/lang/korean'),
    'ru-Ru': require('./common/lang/russian'),
  }
})

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  i18n,
  store,
  router,
  template: '<App/>',
  components: { App }
})
